<?php

namespace App\Http\Controllers\Admin;

use App\Http\Model\Category;
//use Illuminate\Http\Request;

//use App\Http\Requests;
//use Illuminate\Support\Facades\Input;
use Illuminate\Support\Facades\Validator;

class CategoryController extends CommonController
{
    //GET  admin/category  文章分类的列表页面
    public function index()
    {
        //
    }

    //GET  admin/category/create 添加页
    public function create()
    {
        //
    }

    //POST   admin/category  添加保存操作
    public function store($id = 0)
    {
        //
    }

    //GET   admin/category/{category}  展示单条记录页
    public function show($id)
    {
        return redirect('admin/method');
    }

    //GET    admin/category/{category}/edit 编辑展示页
    public function edit($id)
    {
        //
    }

    //PUT|PATCH   admin/category/{category}  更新操作
    public function update($id)
    {
        //
    }

    //DELETE   admin/category/{category}  删除记录操作
    public function destroy($id)
    {
        //
    }
}